@extends('Layout/adminBase')
@section('css')
<link rel="stylesheet" type="text/css" href="{{asset('/bootstrap/css/bootstrap.min.css')}}">
<style>
  tr{
    text-align:center;
  }
  tr th{
    text-align:center;
  }

  .nbsp{
    text-align:left;
  }
</style>


@endsection
@section('body')
<div class='container'>
<div id='Common'>
 @include('Common/tip')

 </div>



<table class="table table-bordered">
  <center><caption>用户反馈信息管理</caption></center>
  <thead>
    <tr>
      <th>序号</th>
      <th>名字</th>
      <th>邮箱</th>
      <th>反馈信息</th>
      <th>发送时间</th>
    </tr>
</thead>
<tbody>

@foreach($messages as $k=>$v)
    <tr>
          <td>{{$k+1}}</td>
          <td>{{$v->name}}</td>
          <td>{{$v->email}}</td>
          <td>{{$v->message}}</td>
          <td>{{date('Y-m-d H:i:s',$v->addtime)}}</td>

    
      </tr>
     
 @endforeach  
    
    </tr>
  </tbody>
</table>
 <center>{{$messages->links()}}</center>


</div>
@endsection